package com.indigon.utils
{	
	import flash.utils.ByteArray;

	public class XMLUtil
	{
		public static function fileToXML(file:Class):XML
		{
			var byteArray : ByteArray = new file() as ByteArray;
			return new XML(byteArray.readUTFBytes(byteArray.length));
		}
		
	}
}